<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>反射</title>
    <style>
        h1 {
            color: red;
            -webkit-box-reflect: below 1px -webkit-linear-gradient(transparent, transparent 50%, rgba(0, 0, 0, .3))
        }
    </style>
</head>

<body>
    <div>
        <h1>hello</h1>
    </div>
</body>

</html>